<div class="memberships form">
<h2><?php __('Edit Committee Member')?></h2>
<?php echo $form->create('Membership',array('url'=>array('committee'=>$dcommittee['Committee']['short_name'],'action'=>'edit')));?>
    <fieldset>
        <legend><?php __('Edit Committee Member');?></legend>
        <div class="fieldset-inside">
    <?php
        echo $form->input('id');
        echo $html->div('',$form->label('','Name').$membership['User']['name']);
        echo $form->input('role_id');
        echo $form->input('User.id',array('type'=>'hidden'));
        echo $html->div('userdat',$form->inputs(array('User.title_id'=>array('options'=>$titles),'User.name','User.email','User.cc_email','User.job_title'=>array('label'=>__('Post',true)),'User.bahagian'=>array('label'=>__('Section/Division',true)),'User.scheme_id'=>array('options'=>$schemes,'label'=>__('Job Scheme',true)),'User.protocol_id'=>array('options'=>$protocols,'label'=>__('Grade',true)),'User.address','User.telephone','User.fax','User.mobile','User.locked'=>array('type'=>'checkbox'))));
    ?>
        </div>
    </fieldset>
<?php echo $form->button(__('Save', true),array('type'=>'submit'));?>&nbsp;
<?php echo $form->button(__('Cancel', true), array('type'=>'button', 'onclick'=>'history.go(-1)'));?>
<?php echo $form->end();?>
</div>

